package com.cmschina;

import com.cmschina.mapper.EventMapper;
import com.cmschina.pojo.Event;
import com.cmschina.service.EventService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @author: li chao
 * @Desc:
 * @create: 2025-11-11 16:03
 **/

@SpringBootTest
public class EventServiceTest {

    @Autowired
    EventService eventService;

    @Autowired
    EventMapper eventMapper;

    @Test
    public void selectList(){
        List<Event> events = eventMapper.selectList(null);
        System.out.println(events);
    }
}
